package com.ruoyi.common.mqtts;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@TableName("tbl_mqtt_server_dat")
@AllArgsConstructor
@NoArgsConstructor
public class MqttServerEntity {
    private static final long serialVersionUID = 1L;

    /** 唯一标识 */
    private String id;

    @TableField("create_user")
    private String createUser;

    @TableField("update_user")
    private String updateUser;

    @TableField("is_deleted")
    private Integer isDeleted;

    @TableField("server_host")
    private String serverHost;

    @TableField("server_port")
    private String serverPort;

    @TableField("username")
    private String username;

    @TableField("password")
    private String password;

    @TableField("client_id")
    private String clientId;

    @TableField("client_topic")
    private String clientTopic;

    @TableField("client_clean_session")
    private Integer clientCleanSession;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setCreateUser(String createUser)
    {
        this.createUser = createUser;
    }

    public String getCreateUser()
    {
        return createUser;
    }
    public void setUpdateUser(String updateUser)
    {
        this.updateUser = updateUser;
    }

    public String getUpdateUser()
    {
        return updateUser;
    }
    public void setIsDeleted(Integer isDeleted)
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted()
    {
        return isDeleted;
    }
    public void setServerHost(String serverHost)
    {
        this.serverHost = serverHost;
    }

    public String getServerHost()
    {
        return serverHost;
    }
    public void setServerPort(String serverPort)
    {
        this.serverPort = serverPort;
    }

    public String getServerPort()
    {
        return serverPort;
    }
    public void setUsername(String username)
    {
        this.username = username;
    }

    public String getUsername()
    {
        return username;
    }
    public void setPassword(String password)
    {
        this.password = password;
    }

    public String getPassword()
    {
        return password;
    }
    public void setClientId(String clientId)
    {
        this.clientId = clientId;
    }

    public String getClientId()
    {
        return clientId;
    }
    public void setClientTopic(String clientTopic)
    {
        this.clientTopic = clientTopic;
    }

    public String getClientTopic()
    {
        return clientTopic;
    }
    public void setClientCleanSession(Integer clientCleanSession)
    {
        this.clientCleanSession = clientCleanSession;
    }

    public Integer getClientCleanSession()
    {
        return clientCleanSession;
    }

}
